package com.yanfan.energy.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 设备能耗表(EquipmentConsumption)实体类
 *
 * @author makejava
 * @since 2022-10-19 19:29:12
 */
@ColumnWidth(15)
public class EquipmentConsumptionDto implements Serializable {
    private static final long serialVersionUID = -36477794719753276L;

    /**
     * 主键
     */
    @ExcelProperty(value = "编号")
    private Integer id;
    /**
     * 设备id
     */
    @ExcelProperty(value = "设备ID")
    private Integer equipmentId;
    /**
     * 设备名称
     */
    @ExcelProperty(value = "设备名称")
    private String deviceName;
    /**
     * 设备耗能价格
     */
    @ExcelProperty(value = "设备耗能价格")
    private Double equipmentConPrice;
    /**
     * 设备耗能
     */
    @ExcelProperty(value = "设备耗能")
    private Double equipmentCon;
    /**
     * 设备耗电单价
     */
    @ExcelProperty(value = "设备耗电单价")
    private Double equipmentPowerPrice;
    /**
     * 能耗价格
     */
    @ExcelProperty(value = "能耗价格")
    private Double price;
    /**
     * 单位能耗
     */
    @ExcelProperty(value = "单位能耗")
    private Double unitEnergy;
    /**
     * 能耗类型
     */
    @ExcelProperty(value = "能耗类型")
    private Integer type;
    /**
     * 能耗类型 大类
     */
    @ExcelProperty(value = "能耗类型大类")
    private Integer classCode;
    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createdBy;
    /**
     * 创建时间
     */
    // @JsonFormat(pattern = "MM-dd", timezone = "GMT+8")
    @ExcelProperty(value = "创建时间")
    private String createdDate;
    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    private Date lastModifiedDate;
    /**
     * 冷却水
     */
    @ExcelProperty(value = "冷却水")
    private Double coolingType;
    /**
     * 自来水
     */
    @ExcelProperty(value = "自来水")
    private Double tapType;
    /**
     * 软化水
     */
    @ExcelProperty(value = "软化水")
    private Double softeningType;
    /**
     * 压缩空气
     */
    @ExcelProperty(value = "压缩空气")
    private Double compressType;
    /**
     * 天然气
     */
    @ExcelProperty(value = "天然气")
    private Double naturalType;
    /**
     * 蒸气
     */
    @ExcelProperty(value = "蒸气")
    private Double vapourType;
    /**
     * 尖电
     */
    @ExcelProperty(value = "尖电")
    private Double spikesType;
    /**
     * 峰电
     */
    @ExcelProperty(value = "峰电")
    private Double peaksType;
    /**
     * 平电
     */
    @ExcelProperty(value = "平电")
    private Double parityType;
    /**
     * 谷电
     */
    @ExcelProperty(value = "谷电")
    private Double lowebbType;
    /**
     * 仪表压空
     */
    @ExcelProperty(value = "仪表压空")
    private Double lnstrumentAirPressure;
    /**
     * 洁净压空
     */
    @ExcelProperty(value = "洁净压空")
    private Double cleanCompressedAir;
    /**
     * 空调热能
     */
    @ExcelProperty(value = "空调热能")
    private Double airHotEnergy;
    /**
     * 用电量
     */
    @ExcelProperty(value = "用电量")
    private Double powerConsumption;
    /**
     * 用水量
     */
    @ExcelProperty(value = "用水量")
    private Double waterConsumption;
    /**
     * 用气量
     */
    @ExcelProperty(value = "用气量")
    private Double gasConsumption;
    /**
     * 有功电量
     */
    @ExcelProperty(value = "有功电量")
    private Double activePower;
    /**
     * 无功电量
     */
    @ExcelProperty(value = "无功电量")
    private Double reactivePower;
    /**
     * 能耗
     */
    @ExcelProperty(value = "能耗")
    private Double totalDosage;

    private String workshopId;

    @ExcelProperty(value = "热能")
    private Double hotType;

    @ExcelProperty(value = "能量(备用字段)")
    private Double erergyConsumption;

    @ExcelProperty("碳排放")
    private BigDecimal carbonEmission;

    private String energyRegionType;

    private String workshopName;
    private String floorName;
    private String buildingName;
    private String identifier;

    public String getEnergyRegionType(){
        return energyRegionType;
    }

    public void setEnergyRegionType(String energyRegionType){
        this.energyRegionType = energyRegionType;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }

    public String getFloorName() {
        return floorName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public EquipmentConsumptionDto() {

    }

    public EquipmentConsumptionDto(Integer id, Integer equipmentId, String deviceName, Double equipmentConPrice, Double equipmentCon, Double equipmentPowerPrice, Double price, Double unitEnergy, Integer type, String createdBy, String createdDate, Date lastModifiedDate, Double coolingType, Double tapType, Double softeningType, Double compressType, Double naturalType, Double vapourType, Double spikesType, Double peaksType, Double parityType, Double lowebbType, Double lnstrumentAirPressure, Double cleanCompressedAir, Double airHotEnergy, Double powerConsumption, Double waterConsumption, Double gasConsumption, Double activePower, Double reactivePower, Double totalDosage) {
        this.id = id;
        this.equipmentId = equipmentId;
        this.deviceName = deviceName;
        this.equipmentConPrice = equipmentConPrice;
        this.equipmentCon = equipmentCon;
        this.equipmentPowerPrice = equipmentPowerPrice;
        this.price = price;
        this.unitEnergy = unitEnergy;
        this.type = type;
        this.createdBy = createdBy;
        this.createdDate = createdDate;
        this.lastModifiedDate = lastModifiedDate;
        this.coolingType = coolingType;
        this.tapType = tapType;
        this.softeningType = softeningType;
        this.compressType = compressType;
        this.naturalType = naturalType;
        this.vapourType = vapourType;
        this.spikesType = spikesType;
        this.peaksType = peaksType;
        this.parityType = parityType;
        this.lowebbType = lowebbType;
        this.lnstrumentAirPressure = lnstrumentAirPressure;
        this.cleanCompressedAir = cleanCompressedAir;
        this.airHotEnergy = airHotEnergy;
        this.powerConsumption = powerConsumption;
        this.waterConsumption = waterConsumption;
        this.gasConsumption = gasConsumption;
        this.activePower = activePower;
        this.reactivePower = reactivePower;
        this.totalDosage = totalDosage;
    }

    public EquipmentConsumptionDto(String init) {
        super();
        if (!"init".equals(init)) {
            return;
        }
        this.equipmentConPrice = 0.0;
        this.equipmentCon = 0.0;
        this.equipmentPowerPrice = 0.0;
        this.price = 0.0;
        this.unitEnergy = 0.0;
        this.coolingType = 0.0;
        this.tapType = 0.0;
        this.softeningType = 0.0;
        this.compressType = 0.0;
        this.naturalType = 0.0;
        this.vapourType = 0.0;
        this.spikesType = 0.0;
        this.peaksType = 0.0;
        this.parityType = 0.0;
        this.lowebbType = 0.0;
        this.lnstrumentAirPressure = 0.0;
        this.cleanCompressedAir = 0.0;
        this.airHotEnergy = 0.0;
        this.powerConsumption = 0.0;
        this.waterConsumption = 0.0;
        this.gasConsumption = 0.0;
        this.activePower = 0.0;
        this.reactivePower = 0.0;
        this.totalDosage = 0.0;
        this.hotType = 0.0;
        this.erergyConsumption = 0.0;

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Integer equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Double getEquipmentConPrice() {
        return equipmentConPrice;
    }

    public void setEquipmentConPrice(Double equipmentConPrice) {
        this.equipmentConPrice = equipmentConPrice;
    }

    public Double getEquipmentCon() {
        return equipmentCon;
    }

    public void setEquipmentCon(Double equipmentCon) {
        this.equipmentCon = equipmentCon;
    }

    public Double getEquipmentPowerPrice() {
        return equipmentPowerPrice;
    }

    public void setEquipmentPowerPrice(Double equipmentPowerPrice) {
        this.equipmentPowerPrice = equipmentPowerPrice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getUnitEnergy() {
        return unitEnergy;
    }

    public void setUnitEnergy(Double unitEnergy) {
        this.unitEnergy = unitEnergy;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(String createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Double getCoolingType() {
        return coolingType;
    }

    public void setCoolingType(Double coolingType) {
        this.coolingType = coolingType;
    }

    public Double getTapType() {
        return tapType;
    }

    public void setTapType(Double tapType) {
        this.tapType = tapType;
    }

    public Double getSofteningType() {
        return softeningType;
    }

    public void setSofteningType(Double softeningType) {
        this.softeningType = softeningType;
    }

    public Double getCompressType() {
        return compressType;
    }

    public void setCompressType(Double compressType) {
        this.compressType = compressType;
    }

    public Double getNaturalType() {
        return naturalType;
    }

    public void setNaturalType(Double naturalType) {
        this.naturalType = naturalType;
    }

    public Double getVapourType() {
        return vapourType;
    }

    public void setVapourType(Double vapourType) {
        this.vapourType = vapourType;
    }

    public Double getSpikesType() {
        return spikesType;
    }

    public void setSpikesType(Double spikesType) {
        this.spikesType = spikesType;
    }

    public Double getPeaksType() {
        return peaksType;
    }

    public void setPeaksType(Double peaksType) {
        this.peaksType = peaksType;
    }

    public Double getParityType() {
        return parityType;
    }

    public void setParityType(Double parityType) {
        this.parityType = parityType;
    }

    public Double getLowebbType() {
        return lowebbType;
    }

    public void setLowebbType(Double lowebbType) {
        this.lowebbType = lowebbType;
    }

    public Double getLnstrumentAirPressure() {
        return lnstrumentAirPressure;
    }

    public void setLnstrumentAirPressure(Double lnstrumentAirPressure) {
        this.lnstrumentAirPressure = lnstrumentAirPressure;
    }

    public Double getCleanCompressedAir() {
        return cleanCompressedAir;
    }

    public void setCleanCompressedAir(Double cleanCompressedAir) {
        this.cleanCompressedAir = cleanCompressedAir;
    }

    public Double getAirHotEnergy() {
        return airHotEnergy;
    }

    public void setAirHotEnergy(Double airHotEnergy) {
        this.airHotEnergy = airHotEnergy;
    }

    public Double getPowerConsumption() {
        return powerConsumption;
    }

    public void setPowerConsumption(Double powerConsumption) {
        this.powerConsumption = powerConsumption;
    }

    public Double getWaterConsumption() {
        return waterConsumption;
    }

    public void setWaterConsumption(Double waterConsumption) {
        this.waterConsumption = waterConsumption;
    }

    public Double getGasConsumption() {
        return gasConsumption;
    }

    public void setGasConsumption(Double gasConsumption) {
        this.gasConsumption = gasConsumption;
    }

    public Double getActivePower() {
        return activePower;
    }

    public void setActivePower(Double activePower) {
        this.activePower = activePower;
    }

    public Double getReactivePower() {
        return reactivePower;
    }

    public void setReactivePower(Double reactivePower) {
        this.reactivePower = reactivePower;
    }

    public Double getTotalDosage() {
        return totalDosage;
    }

    public void setTotalDosage(Double totalDosage) {
        this.totalDosage = totalDosage;
    }

    public Integer getClassCode() {
        return classCode;
    }

    public void setClassCode(Integer classCode) {
        this.classCode = classCode;
    }

    public String getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(String workshopId) {
        this.workshopId = workshopId;
    }

    public Double getHotType() {
        return hotType;
    }

    public void setHotType(Double hotType) {
        this.hotType = hotType;
    }

    public Double getErergyConsumption() {
        return erergyConsumption;
    }

    public void setErergyConsumption(Double erergyConsumption) {
        this.erergyConsumption = erergyConsumption;
    }

    @Override
    public String toString() {
        return "EquipmentConsumptionDto{" + "id=" + id + ", equipmentId=" + equipmentId + ", deviceName='" + deviceName + '\'' + ", equipmentConPrice=" + equipmentConPrice + ", equipmentCon=" + equipmentCon + ", equipmentPowerPrice=" + equipmentPowerPrice + ", price=" + price + ", unitEnergy=" + unitEnergy + ", type=" + type + ", createdBy='" + createdBy + '\'' + ", createdDate='" + createdDate + '\'' + ", lastModifiedDate=" + lastModifiedDate + ", coolingType=" + coolingType + ", tapType=" + tapType + ", softeningType=" + softeningType + ", compressType=" + compressType + ", naturalType=" + naturalType + ", vapourType=" + vapourType + ", spikesType=" + spikesType + ", peaksType=" + peaksType + ", parityType=" + parityType + ", lowebbType=" + lowebbType + ", lnstrumentAirPressure=" + lnstrumentAirPressure + ", cleanCompressedAir=" + cleanCompressedAir + ", airHotEnergy=" + airHotEnergy + ", powerConsumption=" + powerConsumption + ", waterConsumption=" + waterConsumption + ", gasConsumption=" + gasConsumption + ", activePower=" + activePower + ", reactivePower=" + reactivePower + ", totalDosage=" + totalDosage + '}';
    }
}

